package com.itheima.system.service;

import com.itheima.system.pojo.Device;
import com.itheima.system.pojo.DeviceManage;

import java.util.List;

public interface DeviceManageService {

    /**
     * 查询所有
     * @return
     */
    List<DeviceManage> findAll();

    /**
     * 添加
     * @param deviceManage
     */
    void add(DeviceManage deviceManage);

    /**
     * 修改
     * @param deviceManage
     */
    Integer update(DeviceManage deviceManage);

    /**
     * 根据ID查询
     * @param id
     * @return
     */
    List<DeviceManage> findById(Integer id);
}
